package com.crazymaker.springcloud.reactive.api;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.math.BigInteger;

@RestController
@RequestMapping("/uaa-provider")
public interface MockDemoClient {
    @GetMapping("/api/user/detail/v1")
    ResponseEntity<Object> getUser(@RequestParam(value = "userId", required = true) BigInteger userId);
}
